3.5.56 \(\int \sqrt {a^2-x^2} \sqrt {\text {ArcSin}(\frac {x}{a})} \, dx\) [456]

Optimal. Leaf size=126 \[ \frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\text {ArcSin}\left (\frac {x}{a}\right )}+\frac {a \sqrt {a^2-x^2} \text {ArcSin}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}-\frac {a \sqrt {\pi } \sqrt {a^2-x^2} S\left (\frac {2 \sqrt {\text {ArcSin}\left (\frac {x}{a}\right )}}{\sqrt {\pi }}\right )}{8 \sqrt {1-\frac {x^2}{a^2}}} \]

[Out]

1/3*a*arcsin(x/a)^(3/2)*(a^2-x^2)^(1/2)/(1-x^2/a^2)^(1/2)-1/8*a*FresnelS(2*arcsin(x/a)^(1/2)/Pi^(1/2))*Pi^(1/2
)*(a^2-x^2)^(1/2)/(1-x^2/a^2)^(1/2)+1/2*x*(a^2-x^2)^(1/2)*arcsin(x/a)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.08, antiderivative size = 126, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 7, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.292, Rules used = {4741, 4737, 4731, 4491, 12, 3386, 3432} \begin {gather*} -\frac {\sqrt {\pi } a \sqrt {a^2-x^2} S\left (\frac {2 \sqrt {\text {ArcSin}\left (\frac {x}{a}\right )}}{\sqrt {\pi }}\right )}{8 \sqrt {1-\frac {x^2}{a^2}}}+\frac {a \sqrt {a^2-x^2} \text {ArcSin}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}+\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\text {ArcSin}\left (\frac {x}{a}\right )} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[a^2 - x^2]*Sqrt[ArcSin[x/a]],x]

[Out]

(x*Sqrt[a^2 - x^2]*Sqrt[ArcSin[x/a]])/2 + (a*Sqrt[a^2 - x^2]*ArcSin[x/a]^(3/2))/(3*Sqrt[1 - x^2/a^2]) - (a*Sqr
t[Pi]*Sqrt[a^2 - x^2]*FresnelS[(2*Sqrt[ArcSin[x/a]])/Sqrt[Pi]])/(8*Sqrt[1 - x^2/a^2])

Rule 12

Int[(a_)*(u_), x_Symbol] :> Dist[a, Int[u, x], x] /; FreeQ[a, x] &&  !MatchQ[u, (b_)*(v_) /; FreeQ[b, x]]

Rule 3386

Int[sin[(e_.) + (f_.)*(x_)]/Sqrt[(c_.) + (d_.)*(x_)], x_Symbol] :> Dist[2/d, Subst[Int[Sin[f*(x^2/d)], x], x,
Sqrt[c + d*x]], x] /; FreeQ[{c, d, e, f}, x] && ComplexFreeQ[f] && EqQ[d*e - c*f, 0]

Rule 3432

Int[Sin[(d_.)*((e_.) + (f_.)*(x_))^2], x_Symbol] :> Simp[(Sqrt[Pi/2]/(f*Rt[d, 2]))*FresnelS[Sqrt[2/Pi]*Rt[d, 2
]*(e + f*x)], x] /; FreeQ[{d, e, f}, x]

Rule 4491

Int[Cos[(a_.) + (b_.)*(x_)]^(p_.)*((c_.) + (d_.)*(x_))^(m_.)*Sin[(a_.) + (b_.)*(x_)]^(n_.), x_Symbol] :> Int[E
xpandTrigReduce[(c + d*x)^m, Sin[a + b*x]^n*Cos[a + b*x]^p, x], x] /; FreeQ[{a, b, c, d, m}, x] && IGtQ[n, 0]
&& IGtQ[p, 0]

Rule 4731

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_)*(x_)^(m_.), x_Symbol] :> Dist[1/(b*c^(m + 1)), Subst[Int[x^n*Sin[-
a/b + x/b]^m*Cos[-a/b + x/b], x], x, a + b*ArcSin[c*x]], x] /; FreeQ[{a, b, c, n}, x] && IGtQ[m, 0]

Rule 4737

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)/Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[(1/(b*c*(n + 1)))*Si
mp[Sqrt[1 - c^2*x^2]/Sqrt[d + e*x^2]]*(a + b*ArcSin[c*x])^(n + 1), x] /; FreeQ[{a, b, c, d, e, n}, x] && EqQ[c
^2*d + e, 0] && NeQ[n, -1]

Rule 4741

Int[((a_.) + ArcSin[(c_.)*(x_)]*(b_.))^(n_.)*Sqrt[(d_) + (e_.)*(x_)^2], x_Symbol] :> Simp[x*Sqrt[d + e*x^2]*((
a + b*ArcSin[c*x])^n/2), x] + (Dist[(1/2)*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[(a + b*ArcSin[c*x])^n/S
qrt[1 - c^2*x^2], x], x] - Dist[b*c*(n/2)*Simp[Sqrt[d + e*x^2]/Sqrt[1 - c^2*x^2]], Int[x*(a + b*ArcSin[c*x])^(
n - 1), x], x]) /; FreeQ[{a, b, c, d, e}, x] && EqQ[c^2*d + e, 0] && GtQ[n, 0]

Rubi steps

\begin {align*} \int \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )} \, dx &=\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}+\frac {\sqrt {a^2-x^2} \int \frac {\sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}}{\sqrt {1-\frac {x^2}{a^2}}} \, dx}{2 \sqrt {1-\frac {x^2}{a^2}}}-\frac {\sqrt {a^2-x^2} \int \frac {x}{\sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}} \, dx}{4 a \sqrt {1-\frac {x^2}{a^2}}}\\ &=\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}+\frac {a \sqrt {a^2-x^2} \sin ^{-1}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}-\frac {\left (a \sqrt {a^2-x^2}\right ) \text {Subst}\left (\int \frac {\cos (x) \sin (x)}{\sqrt {x}} \, dx,x,\sin ^{-1}\left (\frac {x}{a}\right )\right )}{4 \sqrt {1-\frac {x^2}{a^2}}}\\ &=\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}+\frac {a \sqrt {a^2-x^2} \sin ^{-1}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}-\frac {\left (a \sqrt {a^2-x^2}\right ) \text {Subst}\left (\int \frac {\sin (2 x)}{2 \sqrt {x}} \, dx,x,\sin ^{-1}\left (\frac {x}{a}\right )\right )}{4 \sqrt {1-\frac {x^2}{a^2}}}\\ &=\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}+\frac {a \sqrt {a^2-x^2} \sin ^{-1}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}-\frac {\left (a \sqrt {a^2-x^2}\right ) \text {Subst}\left (\int \frac {\sin (2 x)}{\sqrt {x}} \, dx,x,\sin ^{-1}\left (\frac {x}{a}\right )\right )}{8 \sqrt {1-\frac {x^2}{a^2}}}\\ &=\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}+\frac {a \sqrt {a^2-x^2} \sin ^{-1}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}-\frac {\left (a \sqrt {a^2-x^2}\right ) \text {Subst}\left (\int \sin \left (2 x^2\right ) \, dx,x,\sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}\right )}{4 \sqrt {1-\frac {x^2}{a^2}}}\\ &=\frac {1}{2} x \sqrt {a^2-x^2} \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}+\frac {a \sqrt {a^2-x^2} \sin ^{-1}\left (\frac {x}{a}\right )^{3/2}}{3 \sqrt {1-\frac {x^2}{a^2}}}-\frac {a \sqrt {\pi } \sqrt {a^2-x^2} S\left (\frac {2 \sqrt {\sin ^{-1}\left (\frac {x}{a}\right )}}{\sqrt {\pi }}\right )}{8 \sqrt {1-\frac {x^2}{a^2}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [C] Result contains complex when optimal does not.
time = 0.06, size = 148, normalized size = 1.17 \begin {gather*} \frac {\sqrt {a^2-x^2} \left (48 x \sqrt {1-\frac {x^2}{a^2}} \text {ArcSin}\left (\frac {x}{a}\right )+32 a \text {ArcSin}\left (\frac {x}{a}\right )^2+3 \sqrt {2} a \sqrt {-i \text {ArcSin}\left (\frac {x}{a}\right )} \text {Gamma}\left (\frac {1}{2},-2 i \text {ArcSin}\left (\frac {x}{a}\right )\right )+3 \sqrt {2} a \sqrt {i \text {ArcSin}\left (\frac {x}{a}\right )} \text {Gamma}\left (\frac {1}{2},2 i \text {ArcSin}\left (\frac {x}{a}\right )\right )\right )}{96 \sqrt {1-\frac {x^2}{a^2}} \sqrt {\text {ArcSin}\left (\frac {x}{a}\right )}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[a^2 - x^2]*Sqrt[ArcSin[x/a]],x]

[Out]

(Sqrt[a^2 - x^2]*(48*x*Sqrt[1 - x^2/a^2]*ArcSin[x/a] + 32*a*ArcSin[x/a]^2 + 3*Sqrt[2]*a*Sqrt[(-I)*ArcSin[x/a]]
*Gamma[1/2, (-2*I)*ArcSin[x/a]] + 3*Sqrt[2]*a*Sqrt[I*ArcSin[x/a]]*Gamma[1/2, (2*I)*ArcSin[x/a]]))/(96*Sqrt[1 -
 x^2/a^2]*Sqrt[ArcSin[x/a]])

________________________________________________________________________________________

Maple [F]
time = 0.34, size = 0, normalized size = 0.00 \[\int \sqrt {a^{2}-x^{2}}\, \sqrt {\arcsin \left (\frac {x}{a}\right )}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a^2-x^2)^(1/2)*arcsin(x/a)^(1/2),x)

[Out]

int((a^2-x^2)^(1/2)*arcsin(x/a)^(1/2),x)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^2-x^2)^(1/2)*arcsin(x/a)^(1/2),x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: Error executing code in Maxima: expt: undefined: 0 to a negative e
xponent.

________________________________________________________________________________________

Fricas [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: TypeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^2-x^2)^(1/2)*arcsin(x/a)^(1/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sqrt {- \left (- a + x\right ) \left (a + x\right )} \sqrt {\operatorname {asin}{\left (\frac {x}{a} \right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a**2-x**2)**(1/2)*asin(x/a)**(1/2),x)

[Out]

Integral(sqrt(-(-a + x)*(a + x))*sqrt(asin(x/a)), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a^2-x^2)^(1/2)*arcsin(x/a)^(1/2),x, algorithm="giac")

[Out]

integrate(sqrt(a^2 - x^2)*sqrt(arcsin(x/a)), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \sqrt {\mathrm {asin}\left (\frac {x}{a}\right )}\,\sqrt {a^2-x^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(asin(x/a)^(1/2)*(a^2 - x^2)^(1/2),x)

[Out]

int(asin(x/a)^(1/2)*(a^2 - x^2)^(1/2), x)

________________________________________________________________________________________